#include <iostream>
#define N 1000

using namespace std;


int main(){

int array[N];
int i;
int n;
int sum=0;
int neg=0;
int poz=0;
int zero=0;


cout<<"Type the number of elements you want in the array"<<endl;
cin>>n;
cout<<"Type the elements"<<endl;

for(i=0; i<n; i++){
	cin>>array[i];}

cout<<"The original array is ";

for(i=0; i<n; i++){
	cout<<array[i]<<" ";}
cout<<endl;

for(i=0;i<n; i++){
	if(array[i] > 0){
		poz +=1;}
	if(array[i] < 0){
		neg +=1;}
	if(array[i]==0){
		zero +=1;}
}

cout<<"The number of pozitive elements is "<< poz<< endl;	
cout<<"The number of negative elements is "<< neg<< endl;
cout<<"The number of elements which are zero is "<< poz<< endl;
return 0;
}
